extends ../layout

block content
  //- h1= message
  //- h2= error.status
  .contenter
    .col-md-8.col-md-offset-2
      .alert.alert-dismissable.alert-danger
        h4 #{message}

      a.pull-right.btn.btn-info(href='#',onclick='history.go(-1);return false')
        i.icon-ok
        |确定

      if user && user.role
        pre #{error.stack}
